package com.shxy.cloudclassroom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shxy.cloudclassroom.entity.pojo.ForumCategory;
import com.shxy.cloudclassroom.mapper.ForumCategoryMapper;
import com.shxy.cloudclassroom.service.ForumCategoryService;
import org.springframework.stereotype.Service;

@Service
// 论坛分类服务实现类
public class ForumCategoryServiceImpl extends ServiceImpl<ForumCategoryMapper, ForumCategory> implements ForumCategoryService {
    @Override
    // 根据ID获取论坛分类
    public ForumCategory getById(Integer id) {
        return super.getById(id);
    }
}